<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
 lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
    dhtmlxcalendar:dhtmlxcalendar_api    [DHX documentation]
  </title></head>

<body>
<div class="dokuwiki">
  
  <div class="stylehead">

    <div class="header">
    <a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
    <span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>

    <div class="search-field">
        <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>    </div>
        <div class="buttons">
                <a class="doc"></a>
                <a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
        </div>
     <!-- <div class="pagename">
        [[<a href="#"  title="Backlinks">dhtmlxcalendar:dhtmlxcalendar_api</a>]]
      </div>
      <div class="logo">
        <a href="/dhtmlx/docs/doku.php"  name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a>      </div>

      <div class="clearer"></div>-->
        
    </div>

    
<!--   <div class="bar" id="bar__top">
      <div class="bar-left" id="bar__topleft">
        <form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>        <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>      </div>

      <div class="bar-right" id="bar__topright">
        <form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form>        <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>&nbsp;
      </div>

      <div class="clearer"></div>
    </div> -->

<!--        <div class="breadcrumbs">
      <span class="bchead">Trace:</span> <span class="bcsep">&raquo;</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxcalendar:dhtmlxcalendar_api"  class="breadcrumbs" title="dhtmlxcalendar:dhtmlxcalendar_api">dhtmlxcalendar_api</a></span>    </div>
    -->

    
  </div>
  
  
  <div class="page">
    <!-- wikipage start -->
    
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif"  class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___calendar.gif"  class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxcalendar:toc">dhtmlxcalendar</a></div></div>

</p>

<h1><a name="api_methods" id="api_methods">API methods</a></h1>
<div class="level1">
<ul>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_attachevent.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_attachevent">attachEvent</a> - attaches a handler to calendar&#039;s event.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_attachobj.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_attachobj">attachObj</a> - attaches calendar to the input field.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_clearinsensitivedays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_clearinsensitivedays">clearInsensitiveDays</a> - enables dates disabled by the <a href="dhtmlxcalendar___api_method_dthmlxcalendar_setinsensitivedays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dthmlxcalendar_setinsensitivedays">setInsensitiveDays</a> method.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_clearsensitiverange.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_clearsensitiverange">clearSensitiveRange</a> - enables dates disabled by the <a href="dhtmlxcalendar___api_method_dthmlxcalendar_setinsensitiverange.html" class="wikilink1" title="dhtmlxcalendar:api_method_dthmlxcalendar_setinsensitiverange">setInsensitiveRange</a>, <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setsensitive.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setsensitive">setSensitiveRange</a> methods. Makes all dates in calendar active.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_detachevent.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_detachevent">detachEvent</a> - removes an event handler.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_detachobj.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_detachobj">detachObj</a> - detaches calendar from the input field.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_disabledays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_disabledays">disableDays</a> - disables certain dates of each week, month or year.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_enabledays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_enabledays">enableDays</a> - enables dates disabled by the <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_disabledays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_disabledays">disableDays</a> method.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_getdate.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_getdate">getDate</a> - returns the currently selected date.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_getformateddate.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_getformateddate">getFormatedDate</a> - returns the formatted date.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_hide.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_hide">hide</a> - hides the calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_hidetime.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_hidetime">hideTime</a> - hides the time panel.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_loaduserlanguage.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_loaduserlanguage">loadUserLanguage</a> - sets a new language interface for calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setdate.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setdate">setDate</a> - makes the specified date selected.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setdateformat.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setdateformat">setDateFormat</a> - sets date format.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setholidays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setholidays">setHolidays</a> - sets date(s) as holiday(s).</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dthmlxcalendar_setinsensitivedays.html" class="wikilink1" title="dhtmlxcalendar:api_method_dthmlxcalendar_setinsensitivedays">setInsensitiveDays</a> - sets certain dates as inactive.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dthmlxcalendar_setinsensitiverange.html" class="wikilink1" title="dhtmlxcalendar:api_method_dthmlxcalendar_setinsensitiverange">setInsensitiveRange</a> - sets a range of inactive dates in calendar (such dates are dimmed).</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setparent.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setparent">setParent</a> - sets parent node (container) for calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setposition.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setposition">setPosition</a> - sets the position pop-up calendar will appear from.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setsensitive.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setsensitive">setSensitiveRange</a> - sets a range of sensitive(active) dates in calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setskin.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setskin">setSkin</a> - sets skin for calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_setweekstartday.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_setweekstartday">setWeekStartDay</a> - sets the start day of a week.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_show.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_show">show</a> - shows the calendar.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_showtime.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_showtime">showTime</a> - shows the time panel.</div>
</li>
<li class="level1"><div class="li"> <a href="dhtmlxcalendar___api_method_dhtmlxcalendar_unload.html" class="wikilink1" title="dhtmlxcalendar:api_method_dhtmlxcalendar_unload">unload</a> - destructor, unloads calendar and clears memory (called automatically when page is reloaded).</div>
</li>
</ul>

</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="57-" /><input type="hidden" name="rev" value="1310579543" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Edit" class="button" title="API methods" /></div></form></div>
    <!-- wikipage stop -->
  </div>

  <div class="clearer">&nbsp;</div>

  
  <div class="stylefoot">

    <div class="meta">
      <div class="user">
              </div>
     <!-- <div class="doc">
        dhtmlxcalendar/dhtmlxcalendar_api.txt &middot; Last modified: 2011/07/13 20:52 by 192.168.1.110      </div>
    </div>-->

   
    <!--<div class="bar" id="bar__bottom">-->
      <!--<div class="bar-left" id="bar__bottomleft">-->
        <!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
        <!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
      <!--</div>-->
      <!--<div class="bar-right" id="bar__bottomright">-->
        <!---->
        <!---->
        <!---->
        <!---->
        <!---->
        <!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
        <!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;-->
      <!--</div>-->
      <!--<div class="clearer"></div>-->
    <!--</div>-->

  </div>

  

</div>

<div class="footerinc">


</div>

<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxcalendar%3Adhtmlxcalendar_api&amp;1310730709" width="1" height="1" alt=""  /></div>
     <div class="footer">
        <div class="footer-logo"></div>
        <div class="copyright">Copyright © 1998-2011 DHTMLX LTD.<br />All rights reserved.</div>
        <form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxcalendar:dhtmlxcalendar_api" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>    	    </div>
</body>
</html>
